
Partial Class Budget_FormList
    Inherits System.Web.UI.UserControl

    Public Property Title() As String
        Get
            Return Me.lblTitle.Text
        End Get
        Set(ByVal value As String)
            Me.lblTitle.Text = value
        End Set
    End Property

    Protected Sub NumberOfRowsDropDownList_SelectedIndexChanged(ByVal sender As Object, _
                                                                ByVal e As System.EventArgs) _
                                                                Handles NumberOfRowsDropDownList.SelectedIndexChanged

        If NumberOfRowsDropDownList.SelectedValue = "All" Then
            SpendingPlansGridView.AllowPaging = "False"
        Else
            SpendingPlansGridView.AllowPaging = "True"
            SpendingPlansGridView.PageSize = NumberOfRowsDropDownList.SelectedValue
        End If

    End Sub

End Class
